package com.tudouji.project.organization.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 【请填写功能名称】对象 department
 *
 * @author tudouji
 * @date 2021-01-29
 */
@Data
public class Department extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    private Long id;

    /** $column.columnComment */
    private String guid;

    /** �������� */
    @Excel(name = "��������")
    private String name;

    /** ���ű��� */
    @Excel(name = "���ű���")
    private String code;

    /** �������� */
    @Excel(name = "��������")
    private String description;

    /** �����˾guid */
    @Excel(name = "�����˾guid")
    private String orgguid;

    private Long orgId;

    /*公司名称*/
    private String orgname;

    /** ���������� */
    @Excel(name = "����������")
    private String manager;

    /** ��������ϵ��ʽ */
    @Excel(name = "��������ϵ��ʽ")
    private String managertel;

    /** ������ */
    @Excel(name = "������")
    private String operatorid;

    /** ��������id */
    @Excel(name = "��������id")
    private String dingtalkdepid;

    /** 部门类型 1:部门2:班组 */
    @Excel(name = "部门类型 1:部门2:班组")
    private Integer type;

    /** 状态1-正常 0-禁用 */
    @Excel(name = "状态1-正常 0-禁用")
    private Integer status;

    /*类型名称*/
    private String typename;

    /** 是否计划部门标识：1是 */
    @Excel(name = "是否计划部门标识：1是")
    private Integer flag;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createtime;

    private String kingdeenum;
    private String[] ids;

}
